﻿
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>


    <!-- PAGE TITLE HERE -->
    <title>长月 甜品</title>
    <link rel="icon" href="~/static/img/fav-icon.png" type="image/x-icon" />
    <link href="~/behind/css/nice-select.css" rel="stylesheet">
    <link href="~/behind/css/owl.carousel.css" rel="stylesheet">
    <link rel="stylesheet" href="~/behind/css/nouislider.min.css">
    <script src="~/static/js/axios.min.js"></script>
    <script src="~/static/js/jquery-3.2.1.min.js"></script>
    <!-- Style css -->
    <link href="~/behind/css/style.css" rel="stylesheet" />
    <link href="~/element-ui/index.css" rel="stylesheet" />
    <style>
        .abc {
            width: 4rem !important;
            height: 4rem !important;
        }

        .wwe {
            border: solid #808080 1px;
            border-radius: 50%;
        }
    </style>
    <script>
        $(function () {
            let title = this.location.href.split('/')
            let name = title[title.length - 1]
            let vals = $(".header-left>.dashboard_bar")
            if (name == "Index" || name == "AddPro") {
                vals.text("商品管理")
            } else if (name == "Orders") {
                vals.text("订单管理")
            } else if (name == "Users") {
                vals.text("用户管理")
            }
            $(".hamburger").click(function () {
                let num = $(".dlabnav").width()
                if (num > 100) {
                    $(".dlabnav img").addClass("abc")
                } else {
                    $(".dlabnav img").removeClass("abc")
                }

            })
        })
    </script>
</head>
<body>

    @*<div id="preloader">
            <div class="lds-ripple">
                <div></div>
                <div></div>
            </div>
        </div>*@

    <div id="main-wrapper">

        <div class="nav-header">
            <a href="" class="brand-logo">
                <div class="brand-title">
                    <h2 class="tb">长月甜品</h2>
                    <span class="brand-sub-title">后台管理</span>

                </div>

            </a>
            <div class="nav-control">
                <div class="hamburger">
                    <span class="line"></span>
                    <span class="line"></span>
                    <span class="line"></span>
                </div>
            </div>
        </div>

        <div class="header border-bottom">
            <div class="header-content">
                <nav class="navbar navbar-expand">
                    <div class="collapse navbar-collapse justify-content-between">
                        <div class="header-left">
                            <div class="dashboard_bar">
                               长月甜品后台管理
                            </div>
                        </div>
                        <ul class="navbar-nav header-right">
                            <li class="nav-item d-flex align-items-center">
                               
                            </li>


                        </ul>
                    </div>
                </nav>
            </div>
        </div>

        <div class="dlabnav">
            <div class="dlabnav-scroll">
                <div class="dropdown header-profile2 ">
                    <a class="nav-link " href="javascript:void(0);" role="button">
                        <div class="header-info2 d-flex align-items-center border">

                            <img src="~/static/img/user/pic1.jpg" />
                            <div class="d-flex align-items-center sidebar-info">
                                <div>
                                    <span class="font-w700 d-block mb-2">Admin</span>
                                </div>

                            </div>

                        </div>
                    </a>

                </div>
                <ul class="metismenu" id="menu">
                    <li>
                        <a class="has-arrow " href="javascript:void()" aria-expanded="false">
                            <span class="nav-text">商品管理</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="/Admins/Index">商品信息</a></li>
                            <li><a href="/Admins/AddPro">商品上架</a></li>

                        </ul>

                    </li>
                    <li>
                        <a class="has-arrow " href="javascript:void()" aria-expanded="false">
                            <span class="nav-text">订单管理</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="/Admins/Orders">订单信息</a></li>

                        </ul>
                    </li>
                    <li>
                        <a class="has-arrow " href="javascript:void()" aria-expanded="false">
                            <span class="nav-text">用户管理</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="/Admins/Users">用户信息</a></li>

                        </ul>
                    </li>

                </ul>

            </div>
        </div>


        @RenderBody()

    </div>

</body>
</html>
